package com.tasly.attendance.io;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class AttendanceFileReader {

    private File incomingFile;
    
    public AttendanceFileReader(File file) {
        this.incomingFile = file;
    }
    
    public BufferedReader getAttendanceFileReader() {
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new FileReader(incomingFile));
        } catch (IOException e) {
            System.out.println("Reading attendance file error...");
        }
        return reader;
    }
}
